package cn.mcartoon.dto;

import cn.mcartoon.req.CommentReq;

import java.text.ParseException;

/**
 * @author hys
 * @Description 评论出参数据包装类
 * @date 2019/9/25 13:12
 * Version 1.0
 */
public class ReplyCommentDto {

    public ReplyCommentDto() {
    }

    public ReplyCommentDto(CommentReq comment) throws ParseException {
        this.replyCommentId= comment.getReplyCommentId();
        this.replyType = comment.getType();
        this.replyContent = comment.getContent();
    }

    // 主键ID
    private Long replyCommentId;
    // 回复用户ID
    private Long replyUserId;
    //昵称
    private String userName;
    //头像
    private String faceUrl;
    // 回复类型 2：代表回复评论
    private Integer replyType;
    // 回复内容
    private String replyContent;
    // 回复添加时间
    private String replyAddTime;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getFaceUrl() {
        return faceUrl;
    }

    public void setFaceUrl(String faceUrl) {
        this.faceUrl = faceUrl;
    }

    public Long getReplyCommentId() {
        return replyCommentId;
    }

    public void setReplyCommentId(Long replyCommentId) {
        this.replyCommentId = replyCommentId;
    }

    public Long getReplyUserId() {
        return replyUserId;
    }

    public void setReplyUserId(Long replyUserId) {
        this.replyUserId = replyUserId;
    }

    public Integer getReplyType() {
        return replyType;
    }

    public void setReplyType(Integer replyType) {
        this.replyType = replyType;
    }

    public String getReplyContent() {
        return replyContent;
    }

    public void setReplyContent(String replyContent) {
        this.replyContent = replyContent;
    }

    public String getReplyAddTime() {
        return replyAddTime;
    }

    public void setReplyAddTime(String replyAddTime) {
        this.replyAddTime = replyAddTime;
    }
}
